package com.dz.Incubator.service.impl;

import com.dz.Incubator.dao.OfficeEnvDao;
import com.dz.Incubator.entity.OfficeEnvEntity;
import com.dz.Incubator.service.OfficeEnvService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OfficeEnvServiceImpl implements OfficeEnvService {

    @Autowired
    private OfficeEnvDao officeEnvDao;

    @Override
    public List<OfficeEnvEntity> getAll() {
        return officeEnvDao.selectAll1();
    }
}
